package com.whut.mapper;

import com.whut.model.Checkgroup;

import java.util.List;

public interface CheckgroupMapper {
    int deleteByPrimaryKey(Integer groupId);

    int insert(Checkgroup record);

    int insertSelective(Checkgroup record);

    Checkgroup selectByPrimaryKey(Integer groupId);

    int updateByPrimaryKeySelective(Checkgroup record);

    int updateByPrimaryKey(Checkgroup record);

    /*my methods*/
    List<Checkgroup> getAllCheckGroup();
    List<Checkgroup> getGroupInfo();

    void discardByGroupId(int groupId);
    void freeByGroupId(int groupId);
}